export const API_CODES = {
  OK: 200,
  UNKNOWN: 1001,
  FEATURE_NO_EXIST: 1002,
  FEATURE_EXIST :1003,
  SCENARIO_EXIST :1004,
  SCENARIO_RELATED_FEATURE :1005,
  FEATURE_RELATED_SCENARIO :1006,
};

export const API_MSGS = {
  [API_CODES.OK]: '成功',
  [API_CODES.UNKNOWN]: '未知错误',
  [API_CODES.FEATURE_NO_EXIST]: 'Feature不存在',
  [API_CODES.FEATURE_EXIST]:"Feature已存在,请勿重复添加",
  [API_CODES.SCENARIO_EXIST]:"该Scenario已存在!",
  [API_CODES.SCENARIO_RELATED_FEATURE]:"该Scenario已与Feature关联,不可删除",
  [API_CODES.FEATURE_RELATED_SCENARIO]:"该Feature下关联Scenario,不可删除"
};

